/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package MF1DSolver;

import MeshlessShapeFunctions.IKernelFunction;
import MeshlessShapeFunctions.JMeshlessInterpolationFunction1DCoupled2;
import java.util.ArrayList;
import nonequidistant.FEMShapeFunctions1D.FEMShapeFunction1D1Pow;

/**
 *
 * @author mark_o
 */
public class MFCombinationCoupling {
    ArrayList<JMeshlessInterpolationFunction1DCoupled2> MeshlessList;
    int Degree;
    double rho;
    IKernelFunction kernel;

    FEMShapeFunction1D1Pow left;
    FEMShapeFunction1D1Pow right;

    public MFCombinationCoupling(FEMShapeFunction1D1Pow left, FEMShapeFunction1D1Pow right, int Degree, double rho, IKernelFunction kernel, int N) {
        this.left = left;
        this.right = right;
        this.Degree = Degree;
        this.rho = rho;
        this.kernel = kernel;
        //створюємо безсіткові базові ф-ції
        MeshlessList = new ArrayList<JMeshlessInterpolationFunction1DCoupled2>();
        ArrayList<FEMShapeFunction1D1Pow> FEMList = new ArrayList<FEMShapeFunction1D1Pow>();
        double h = (right.getXi() - left.getXi()) / (double)(N+1);
        double start = right.getXi() + h;

        for(int i = 0; i < N; i++){
//            MeshlessList.add(new JMeshlessInterpolationFunction1DCoupled2(Degree, start+h*i, rho, kernel, FEMList));
        }
    }


}
